package com.sdu;

import com.sdu.rpc.server.RpcServer;
import com.sdu.service.OrderService;
import com.sdu.service.impl.OrderServiceImpl;

public class Provider {

	public static void main(String[] args) {

		OrderService orderService = new OrderServiceImpl();

		RpcServer rpcServer = new RpcServer();
		rpcServer.registerService("com.sdu.service.OrderService", orderService);

		rpcServer.start();

	}
}
